@echo off
cd %~pd0
if %~1.==. goto :usage
goto SkipCompile
javac -cp .\src --release 8 -encoding utf-8 -d .\out\production\Yjm\ ^
.\src\com\ruiyou\uu\encryption\Yjm.java
:SkipCompile
if errorlevel 1 goto endl
java -Dfile.encoding=UTF-8 -cp .\out\production\Yjm\ ^
com.ruiyou.uu.encryption.Yjm %*

:endl
@REM pause
goto :eof

:usage
echo usage: run [-R] [-E] ^<dir^>
echo    -R, recurs
echo    -E, encrypt
echo    dir, the directory to process
